<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
		<script src="http://malsup.github.com/jquery.form.js"></script>
	</head>
	<body>
		<form id="myForm" action="http://localhost:8084/yjbpoint/file/formup" method="post">
   <input type="file" name="file" id="file2" value="" />
    <input type="submit" value="Submit Comment" />
</form>
<script>
        // wait for the DOM to be loaded
        $(document).ready(function() {
            // bind 'myForm' and provide a simple callback function
            $('#myForm').ajaxForm(function(data) {
                alert(data);
            });
        });
    </script>
	</body>
</html>
